package rs.udd.service;

import java.util.List;

import rs.udd.exceptions.UddException;
import rs.udd.model.AbstractEntity;

public interface AbstractService<T extends AbstractEntity> {

	public T save(T t) throws UddException;

	public void delete(Long id) throws UddException;

	public T findOne(Long id) throws UddException;

	public List<T> findAll() throws UddException;

}
